package com.tmall.service;

import com.github.pagehelper.PageInfo;
import com.tmall.common.ServerResponse;
import com.tmall.pojo.Shipping;

/**
 * Created by Quincy on 2017/7/13.
 */
public interface IShippingService {
    ServerResponse add(Integer userId, Shipping shipping);
    ServerResponse<String> del(Integer userId, Integer shippingId);
    ServerResponse update(Integer userId, Shipping shipping);
    ServerResponse<Shipping> select(Integer userId, Integer shippingId);

    ServerResponse<PageInfo> list (Integer userId, int pageNum , int pageSize);
}
